namespace Generics
{
    public class MyGenericLinkedListNode<T>(T value)
    {

        public T Value { get; } = value;
        public MyGenericLinkedListNode<T>? Next { get; internal set; }
        public MyGenericLinkedListNode<T>? Prev { get; internal set; }
    }
}